package net.qunzhi.modules.cms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.qunzhi.common.utils.PageUtils;
import net.qunzhi.modules.app.query.CopyDataQuery;
import net.qunzhi.modules.cms.entity.TbCopyFlowDataEntity;
import net.qunzhi.common.utils.BaseQuery;
import net.qunzhi.modules.cms.query.DailyRecordListQuery;
import net.qunzhi.modules.cms.query.DateInfoQuery;
import net.qunzhi.modules.cms.vo.*;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 手抄的流量计数据
 *
 * @author zjr
 * @date 2021-09-10 15:48:00
 */
public interface TbCopyFlowDataService extends IService<TbCopyFlowDataEntity> {

    PageUtils queryPage(CopyDataQuery query);

    List<DataResultVO> getDataResult(List<DataResultVO> collect, DailyRecordListQuery query);

    void importExcel(String fileName, MultipartFile file) throws Exception;

    UndoCopyVO getUndoCopyData(String startDate, String endDate);

    void getCopyFlowDataTask();

}

